class {
    async test () {
        await Promise.resolve()
    }
}

<div/>
